
import io from 'lib/io'
import storage from 'lib/storage'
class UserService {
    constructor(_this) {
        this._this = _this
    }
    getOrganizationIds() {
        let currentUserInfo = storage.getCurrentUserInfo()
        io.post(io.getAuthOrganDetail, { id: currentUserInfo.organizationId }, (ret) => {
            this._this.organizationIds = ret.opreaTypes
        })
    }
}
export default UserService